package com.interview.one.model;

import javax.persistence.*;
import lombok.Data;

@Data
@Table(name = "category")
public class Category {
    @Id
    private Integer id;

    @Column(name = "category_name")
    private String categoryName;

    @Column(name = "category_icon")
    private String categoryIcon;

    @Column(name = "parent_id")
    private Integer parentId;
}